package services

import (
	"src/conf/database"
	"src/entity"
)

/*
@date : 2024/8/28 22:30
@author : mie
@desc:
*/

func GetUserWallet(account string) (uw []*entity.UserWallet, err error) {
	errs := database.InitDatabase().Debug().Where("account=?", account).Find(&uw)
	return uw, errs.Error
}
